package com.SmartLED.Service;

import com.SmartLED.Mapper.FirstMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.stereotype.Component;

import java.util.List;
import java.util.Map;

/**
 * Created by Frozen on 2017/1/5.
 */
@SpringBootApplication
@Component
public class FirstService {

    @Autowired
    private FirstMapper firstMapper;

    public List<Map> query()
    {
        return firstMapper.query();
    }
}
